package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.usian.model.media.pojos.WmMaterial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WmMaterialMapper extends BaseMapper<WmMaterial> {

    @Select("select id from wm_material where url = #{url}")
    Integer findByUrl(String url);
}
